<template>
   <el-breadcrumb separator-class="el-icon-arrow-right">

    <el-breadcrumb-item v-for="(item, index) in breadList" :key="item.path">
      <router-link to="/system/index" v-if="index == 0">{{
        item.meta.title
      }}</router-link>
      <span v-else>{{ item.meta.title }}</span>
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script >
export default {
  data(){
    return{}
  },
  mounted(){
    // console.log("routers=>",this.$route)
  },
  computed: {
    breadList() {
      return this.$route.matched;
    },
  },
}


</script>

<style lang="scss" scoped>

</style>